package com.alibaba.cloud.infrastructure.repository;

import com.alibaba.cloud.domain.entity.BankTransfer;
import org.springframework.data.jpa.repository.JpaRepository;

public interface BankTransferRepository extends JpaRepository<BankTransfer, Long> {

	BankTransfer findOneByAxonBankTransferId(String axonBankTransferId);

	Iterable<BankTransfer> findBySourceBankAccountIdOrDestinationBankAccountId(String sourceBankAccountId,
			String destinationBankAccountId);
}
